home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-eplain-archive
/
000033_kb@cs.umb.edu_Thu Sep 29 02:14:38 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1995-01-08
|
1KB
Received: from terminus.cs.umb.edu by cs.umb.edu with SMTP id AA16405
(5.65c/IDA-1.4.4 for <tex-eplain@cs.umb.edu>); Thu, 29 Sep 1994 06:14:59 -0400
Received: by terminus.cs.umb.edu id AA09434
(5.65c/IDA-1.4.4 for tex-eplain@cs.umb.edu); Thu, 29 Sep 1994 06:14:38 -0400
Date: Thu, 29 Sep 1994 06:14:38 -0400
From: "K. Berry" <kb@cs.umb.edu>
Message-Id: <199409291014.AA09434@terminus.cs.umb.edu>
To: cadwell@shishi.ca.boeing.com
Cc: tex-eplain@cs.umb.edu, cadwell@shishi.ca.boeing.com
Subject: Re: Having problem with eplain table of contents
(1) that the \writetocentry
opens the toc file for writing (2) since after running tex
the data IS in the toc file, \readtocfile ``found'' that
the toc file was already open, so did not reopen it, and
(3) since there are no table of contents entries in the
output that on \readtocfile the file pointer was passed
the data (at the end of file), thus, no data read.
Yes, this is all correct. (You can always look at the source, too, if
you don't like to deduce behavior from black boxes :-)
I never thought about the case of having to write a toc entry
before you actually print the toc. You necessarily have to call
\readtocfile first, no matter what. I guess you could save the result
in a vbox and then unpack it later when it's time to print?
That's the only solution that comes to mind.